package com.translate.web.param;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IOrderCommentParam;

/**
 * 订单评论
 * @param <T>
 */
public class OrderCommentParam extends IdAndUserIdParam implements IOrderCommentParam {
	// 评分
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	private Byte score;
	// 评论内容
	@NotNull
	private String comment;
	
	private int time;
	
	public Byte getScore() {
		return score;
	}
	public void setScore(Byte score) {
		this.score = score;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	
	

}